<?php

if(!defined('CMS_ADMIN')) {
	die("Illegal File Access");
}
$id = intval($_GET['id']);
$stat = intval($_GET['stat']);

$db->sql_query("UPDATE ".$prefix."_allocated SET if_show='$stat' WHERE id='$id'");

updateadmlog($admin_ar[0], $adm_modname, _MODTITLE, _STATUS);

include("modules/".$adm_modname."/index.php");

?>